/*
 * Copyright (C) 2007 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.oron3.bouncer.genericgl;

import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;

/**
 * Render a pair of tumbling cubes.
 */

public class BallRenderer extends GLWorldRenderer {



	//	private Axes axes;
	//	private LabelMaker mLabels;


	/**
	 * @param ballWorld
	 */
	public BallRenderer(final BallWorld ballWorld) {
		super(ballWorld);
	}


	@Override
	public void onDrawFrame(final GL10 gl) {
		super.onDrawFrame(gl);
		//axes.draw(gl, width, height);
	}


	@Override
	public void onSurfaceCreated(final GL10 gl, final EGLConfig config) {
		super.onSurfaceCreated(gl, config);
		//		if (mLabels != null) {
		//			mLabels.shutdown(gl);
		//		} else {
		//			mLabels = new LabelMaker(true, 256, 64);
		//		}
		//		axes = new Axes(100, mLabels, projector);
		//		axes.init(gl);
	}


}
